//  AppAPIClient.h
//  drinkApp
//
//  Created by cnbizMedia on 14/6/24.
//  Copyright (c) 2014年 CnbizMedia. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <AFNetworking/AFHTTPRequestOperationManager.h>
#import <AFNetworking/AFNetworkReachabilityManager.h>
#import <OpenUDID.h>

@interface AppAPIClient : AFHTTPRequestOperationManager
+ (instancetype)sharedClient;
@property(nonatomic,readonly) NSString *token;
@property(nonatomic,readonly) NSString *name;
@property(nonatomic,readonly) NSString *cookie;
- (void)setTokenA:(NSString *)token;
- (AFHTTPRequestOperation *)UPLOAD:(NSString *)URLString name:(NSString*)name withImage:(UIImage*)image constructingBodyWithBlock:(void (^)(id<AFMultipartFormData>))block success:(void (^)(AFHTTPRequestOperation *, id))success failure:(void (^)(AFHTTPRequestOperation *, NSError *))failure;
@end
